package com.ihr360.payroll.service.reference.impl;


import com.ihr360.authority.sharing.annonation.AccessControl;
import com.ihr360.payroll.dao.ReferenceApplicationRepository;
import com.ihr360.payroll.model.dto.reference.ReferenceApplication;
import com.ihr360.payroll.service.reference.ReferenceApplicationService;
import com.ihr360.rest.reposity.SimpleRestReposity;
import com.ihr360.rest.service.AbstractSimpleRestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author tomtao
 */
@Service
@AccessControl(disableAll = true)
public class ReferenceApplicationServiceImpl extends AbstractSimpleRestServiceImpl<ReferenceApplication, Long> implements ReferenceApplicationService{

    @Autowired
    private ReferenceApplicationRepository referenceApplicationRepository;

    @Override
    public SimpleRestReposity<ReferenceApplication, Long> getSimpleRestReposity() {
        return referenceApplicationRepository;
    }
}
